﻿@model List<DataEntity.OffRequisitionBillDetail>

<link href="~/Content/PrintFormStyle.css" rel="stylesheet" />
<div id="bodyScroll">

    <div id="form" style="text-align: center;">
        <div style="font-size:24px;letter-spacing:8px">浙江胜辉服饰有限公司</div>
        <div class="underline" style="font-size:20px;letter-spacing:8px">出库单</div>
        <br />
         <div><span style="float:left;margin-left:630px"><span class="underline">@(ViewBag.RequisitionBill.OutBoundTime.Year)</span>年&nbsp;<span class="underline">@(ViewBag.RequisitionBill.OutBoundTime.Month)</span> 月 &nbsp;<span class="underline">@(ViewBag.RequisitionBill.OutBoundTime.Day)</span>日</span><span style="margin-right:300px">  编号<span  class="underline"><span style="color:red;font-size:20px">@ViewBag.RequisitionBill.Code</span> </span></span></div>
    <div class="div_center">
        <table  align="center" style="border-collapse: collapse;width:600px;height:250px" border="1" cellspacing="0" cellpadding="0">
            <tr>

                <td>领用部门
                </td>
                <td>@ViewBag.RequisitionBill.UseDepartment</td>
                <td>货源性质
                </td>
                <td colspan="2">@ViewBag.RequisitionBill.SourceProperties</td>
                <td>客户名称、组别</td>
                <td>@ViewBag.RequisitionBill.CustomerName</td>
               
            </tr>
            <tr>
                <td colspan="2">货物品名
                </td>
                <td >单位</td>
                <td>数量
                </td>
                <td>单价</td>
                <td>金额</td>
                <td>备注</td>
            </tr>
            @foreach (var requisitionBillDetail in Model)
            {
            <tr>
                <td colspan="2">@requisitionBillDetail.OffGoods.Name
                </td>
                <td>@requisitionBillDetail.OffGoods.Unit</td>
                <td>@requisitionBillDetail.Quantity
                </td>
                <td>@requisitionBillDetail.AfterTaxPrice</td>
                <td>@(requisitionBillDetail.AfterTaxPrice*requisitionBillDetail.Quantity)</td>
                <td>@requisitionBillDetail.Remark</td>
            </tr>
            }
           @for (int i = 0; i < ViewBag.Count; i++)
           { 
              <tr>
                <td colspan="2">
                </td>
                <td></td>
                <td>
                </td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
           }

        </table>
        </div>

    <div>
        <span style="float:left;margin-left:400px">领用:<span style="width:200px"></span></span>
       
      

          <span style="width:200px">发货:</span>
       
         <span style="float:right;margin-right:500px">记账:</span>
        
        
    </div>
</div>
    </div>